package wps.component {
import flash.events.Event;
import flash.geom.Point;

import mx.binding.utils.ChangeWatcher;
import mx.collections.ArrayCollection;

import spark.components.Label;

public class DrawingText extends Label implements IDrawingElement {

    private var _settingFilters:ArrayCollection;

    //--------------------------------------------------------------------------
    //
    // Methods
    //
    //--------------------------------------------------------------------------

    public function get excludedSetting():Array {
        var ac:ArrayCollection = new ArrayCollection();
        ac.addItem("width");
        ac.addItem("height");
        ac.addItem("scaleMode");
        return ac.toArray();
    }

    [Bindable("elementRotate")]
    public function get elementRotation():Number {
        return rotation;
    }

    public function set elementRotation(value:Number):void {
        dispatchEvent(new Event("elementRotate"));
    }

    [Bindable]
    public function get settingFilters():ArrayCollection {
        return _settingFilters;
    }

    public function set settingFilters(settingFilters:ArrayCollection):void {
        _settingFilters = settingFilters;
    }

    //--------------------------------------------------------------------------
    //
    // Constructor
    //
    //--------------------------------------------------------------------------

    public function DrawingText() {
        super();
    }

}
}
